<!--
 * @Author: Meow
 * @Date: 2019-10-10 21:48:55
 * @LastEditors: Meow
 * @LastEditTime: 2019-11-01 17:14:36
 * @Description: 数据需求清单表格
 -->
<template>
  <div id="Table1">
    <el-table :data="tableData1" border style="width: 100%" empty-text>
      <el-table-column prop="date" label="序号" align="center"></el-table-column>
      <el-table-column prop="name" label="所需数据" align="center"></el-table-column>
      <el-table-column prop="address" label="需求描述" align="center"></el-table-column>
      <el-table-column prop="address" label="需求处室" align="center"></el-table-column>
      <el-table-column prop="address" label="需求采集人" align="center"></el-table-column>
      <el-table-column prop="address" label="需求采集时间" align="center"></el-table-column>
      <el-table-column prop="address" label="操作" align="center">
        <template slot-scope="scope">
          <el-button size="mini" type="primary" @click="editTable(scope.$index, scope.row)">修改</el-button>
          <el-button size="mini" type="danger" @click="delTable(scope.$index, scope.row)">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
import processManagementApi from "@/httpUtils/ExternalManagement/processManagement";
export default {
  name: "Table1",
  data() {
    return {};
  },
  props: {
    tableData1: {
      type: Array,
      default: () => []
    }
  },
  created() {},
  filters: {
    // 过滤Null
    FormatNull(value) {
      console.log(value);
      if (value == null || value == "null") {
        return "";
      } else {
        return value;
      }
    }
  },
  methods: {
    GetData() {},
    //  标签管理
    // GetLabelTree() {
    //   metadataRegistrationApi.queryLabelTree().then(res => {
    //     console.log(res.data.data);
    //     this.IterationDelateMenuChildren(res.data.data);
    //     this.queryLabelTree = res.data.data;
    //   });
    // },
  }
};
</script>
<style lang="less" scoped>
/deep/ tr th {
  background: rgb(238, 241, 246);
  color: rgb(96, 98, 102);
  text-align: center;
}
@import url("../InstitutionalFile.less");
</style>